import request from '@/utils/request'

// 查询用户VIP状态列表
export function listUserVipStatuses(query) {
  return request({
    url: '/system/userVipStatuses/list',
    method: 'get',
    params: query
  })
}

// 查询用户VIP状态详细
export function getUserVipStatuses(id) {
  return request({
    url: '/system/userVipStatuses/' + id,
    method: 'get'
  })
}

// 新增用户VIP状态
export function addUserVipStatuses(data) {
  return request({
    url: '/system/userVipStatuses',
    method: 'post',
    data: data
  })
}

// 修改用户VIP状态
export function updateUserVipStatuses(data) {
  return request({
    url: '/system/userVipStatuses',
    method: 'put',
    data: data
  })
}

// 删除用户VIP状态
export function delUserVipStatuses(id) {
  return request({
    url: '/system/userVipStatuses/' + id,
    method: 'delete'
  })
}
